Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scanner score #67

Merged
merged 5 commits into from
Mar 31, 2024
Merged

Scanner score #67

merged 5 commits into from
Mar 31, 2024

Conversation

ryanjung1998
Copy link
Contributor

Hitting scanner endpoint now returns a single number as a score based on sustainability of the materials used in the tag, instead of a json with the list of materials. Also added some validation for the tag information like checking that the percentages add up to 100%

@ryanjung1998 ryanjung1998 self-assigned this Feb 26, 2024
@ryanjung1998
Copy link
Contributor Author

Endpoint now returns score AND notes commenting on the sustainability of the product based on tag information. Takes into consideration care instructions and country of origin.

@Axeloooo Axeloooo merged commit fa4cee9 into dev Mar 31, 2024
4 checks passed
@Axeloooo Axeloooo deleted the scanner-score branch March 31, 2024 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants